package com.chengyu.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 乘车码推送数据表
 * </p>
 *
 * @author ${author}
 * @since 2023-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SceneRideCodeData对象", description="乘车码推送数据表")
public class SceneRideCodeData implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "场景值1--公交，2--地铁")
    private String typeCode;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "消费时间")
    private Date payTime;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "状态0--未领取，1--已领取")
    private Integer status;

    @ApiModelProperty(value = "可领取的减排量")
    private BigDecimal carbonNumAdd;

    @ApiModelProperty(value = "完整发放减排量")
    private BigDecimal carbonNumTotal;

    @TableField(exist = false)
    private Long sceneId;
    @ApiModelProperty(value = "场景名称")
    private String sceneName;
    @ApiModelProperty(value = "场景编码")
    private String sceneCode;

    @ApiModelProperty(value = "商户分到")
    private BigDecimal merchantNumAdd;

    @ApiModelProperty(value = "过期0--正常 1--过期")
    private Integer expire;




}
